import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { SwaggerDocument } from './users/doc/doc'

async function bootstrap() {
  const app = await NestFactory.create(AppModule);

  // swagger 文档
  SwaggerDocument(app) 

  // 全局拦截器
  

  await app.listen(20000);
}
bootstrap();
